import 'package:flutter/material.dart';

class SeachComp extends StatelessWidget {
  const SeachComp({super.key});

  @override
  Widget build(BuildContext context) {
    return const SizedBox(
      width: double.infinity,
      height: 60,
      child: TextField(
        decoration: InputDecoration(
          hintText: '请输入搜索内容',
          filled: true,
          fillColor: Colors.white,
          prefixIcon: Icon(
            Icons.search,
            size: 20,
            color: Colors.grey,
          ),
        ),
      ),
    );
  }
}
